//
//  MBProgressHUD+WZ.h
//  ETong
//
//  Created by wanzhao on 15/11/5.
//  Copyright (c) 2015年 wanzhao. All rights reserved.
//

#import "MBProgressHUD.h"

@interface MBProgressHUD (WZ)

+ (void)showSuccess:(NSString *)success toView:(UIView *)view;
+ (void)showError:(NSString *)error toView:(UIView *)view;

+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;
+ (void)show:(NSString *)text icon:(NSString *)icon view:(UIView *)view;

+ (void)showSuccess:(NSString *)success;
+ (void)showError:(NSString *)error;

+ (MBProgressHUD *)showMessage:(NSString *)message;

+ (void)hideHUDForView:(UIView *)view;
+ (void)hideHUD;
+(void)showSignSuccessToview:(UIView *)view;
+(void)showSignOutSuccessToview:(UIView *)view;
@end
